Unit this;

this = owner.AsUnit;

if (!.IsValid) return;

while (true)
{
	Sleep(5000);
	if(.IsHeirOf("Hero"))
		if(.InHolder)
			if(.GetHolderSett.GetCentralBuilding.IsHeirOf("BaseTownhall") 
			|| .GetHolderSett.GetCentralBuilding.IsHeirOf("Outpost"))
				.GetHolderSett.GetCentralBuilding.settlement.SetFood(.GetHolderSett.GetCentralBuilding.settlement.food+8);
}
